public class People {
                public String name;
                public String color;
               public People(){
                       this("成龙大哥","黑");
               }

    @Override
    public String toString() {
        return "People{" +
                "name='" + name + '\'' +
                ", color='" + color + '\'' +
                '}';
    }

    public People(String name, String color) {
                this.name = name;
                this.color = color;
        }

        public void wash() {
                        System.out.println(name + "的" + color + "色的头发duang！");
                }

        public static void main(String[] args) {
                People chenglong1 = new People("成龙大哥", "黑");
                People chenglong2 = new People();
                chenglong1.wash();
                chenglong2.wash();
                System.out.println(chenglong1);
        }

}
